{"type": "func", "start": 3032912, "end": 3032980, "name": "CCAnimateFrameCache::spriteFrameByName", "pseudocode": "// \n// CCAnimateFrameCache::spriteFrameByName from 0x2e4750 to 0x2e4794 (68 bytes)\n// \n// 2 xrefs:\n// > CCPartAnimSprite::setDisplayFrame @ 0x2e746e\n// > CCPartAnimSprite::tweenToFrame @ 0x2e7648\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\ncocos2d::CCArray *CCAnimateFrameCache::spriteFrameByName(CCAnimateFrameCache *a1, const char *a2)\n{\n  cocos2d::CCDictionary *m_animateFrames; // r6\n  cocos2d::CCArray *v3; // r6\n  std::string v5; // [sp+8h] [bp-8h] BYREF\n\n  m_animateFrames = a1->m_animateFrames;\n  sub_776584((int)&v5, (char *)a2);\n  v3 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(m_animateFrames, &v5);\n  sub_774008(&v5);\n  return v3;\n}", "assembly": "; \n; CCAnimateFrameCache::spriteFrameByName from 0x2e4750 to 0x2e4794 (68 bytes)\n; \n; 2 xrefs:\n; > CCPartAnimSprite::setDisplayFrame @ 0x2e746e\n; > CCPartAnimSprite::tweenToFrame @ 0x2e7648\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R0-R6,LR}                                             ; +0x0, 0x2e4750\nADD             R5, SP, #0x10+var_8                                    ; +0x2, 0x2e4752\nLDR             R4, =(__stack_chk_guard_ptr - 0x2E4760)                ; +0x4, 0x2e4754\nADD             R2, SP, #0x10+var_C                                    ; +0x6, 0x2e4756\nLDR             R6, [R0,#0x34]                                         ; +0x8, 0x2e4758\nMOV             R0, R5; int                                            ; +0xa, 0x2e475a\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xc, 0x2e475c\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xe, 0x2e475e\nLDR             R3, [R4]                                               ; +0x10, 0x2e4760\nSTR             R3, [SP,#0x10+var_4]                                   ; +0x12, 0x2e4762\nBL              sub_776584                                             ; +0x14, 0x2e4764\nMOV             R0, R6                                                 ; +0x18, 0x2e4768\nMOV             R1, R5                                                 ; +0x1a, 0x2e476a\nBL              _ZN7cocos2d12CCDictionary12objectForKeyERKSs; cocos2d::CCDictionary::objectForKey(std::string const&) ; +0x1c, 0x2e476c\nMOV             R6, R0                                                 ; +0x20, 0x2e4770\nMOV             R0, R5                                                 ; +0x22, 0x2e4772\nBL              sub_774008                                             ; +0x24, 0x2e4774\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x28, 0x2e4778\nLDR             R3, [R4]                                               ; +0x2a, 0x2e477a\nMOV             R0, R6                                                 ; +0x2c, 0x2e477c\nCMP             R2, R3                                                 ; +0x2e, 0x2e477e\nBEQ             loc_2E4790                                             ; +0x30, 0x2e4780\nBLX             __stack_chk_fail                                       ; +0x32, 0x2e4782\nMOV             R0, R5                                                 ; +0x36, 0x2e4786\nBL              sub_774008                                             ; +0x38, 0x2e4788\nBL              __cxa_end_cleanup                                      ; +0x3c, 0x2e478c\nADD             SP, SP, #0x10                                          ; +0x40, 0x2e4790\nPOP             {R4-R6,PC}                                             ; +0x42, 0x2e4792", "xrefs": ["CCPartAnimSprite::setDisplayFrame @ 0x2e746e", "CCPartAnimSprite::tweenToFrame @ 0x2e7648"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}