{"type": "func", "start": 3948768, "end": 3948856, "name": "CCAnimateFrameCache::spriteFrameByName", "pseudocode": "// \n// CCAnimateFrameCache::spriteFrameByName from 0x3c40e0 to 0x3c4138 (88 bytes)\n// \n// 2 xrefs:\n// > CCPartAnimSprite::setDisplayFrame @ 0x3c75ae\n// > CCPartAnimSprite::tweenToFrame @ 0x3c78e0\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:46:33 +0000\n// \n\nint __fastcall CCAnimateFrameCache::spriteFrameByName(CCAnimateFrameCache *this, const char *a2)\n{\n  int v3; // r7\n  size_t v4; // r0\n  int v5; // r6\n  int v7[3]; // [sp+0h] [bp-14h] BYREF\n\n  v3 = *((_DWORD *)this + 13);\n  memset(v7, 0, sizeof(v7));\n  v4 = strlen(a2);\n  std::string::__init(v7, a2, v4);\n  v5 = cocos2d::CCDictionary::objectForKey(v3, v7);\n  std::string::~string((int)v7);\n  return v5;\n}", "assembly": "; \n; CCAnimateFrameCache::spriteFrameByName from 0x3c40e0 to 0x3c4138 (88 bytes)\n; \n; 2 xrefs:\n; > CCPartAnimSprite::setDisplayFrame @ 0x3c75ae\n; > CCPartAnimSprite::tweenToFrame @ 0x3c78e0\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:46:33 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0x3c40e0\nSUB             SP, SP, #0x14                                          ; +0x2, 0x3c40e2\nLDR             R4, =(__stack_chk_guard_ptr - 0x3C40F0)                ; +0x4, 0x3c40e4\nMOV             R6, R1                                                 ; +0x6, 0x3c40e6\nLDR             R7, [R0,#0x34]                                         ; +0x8, 0x3c40e8\nMOV             R0, R1; char *                                         ; +0xa, 0x3c40ea\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xc, 0x3c40ec\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xe, 0x3c40ee\nMOV             R5, SP                                                 ; +0x10, 0x3c40f0\nLDR             R3, [R4]                                               ; +0x12, 0x3c40f2\nSTR             R3, [SP,#0x14+var_8]                                   ; +0x14, 0x3c40f4\nMOVS            R3, #0                                                 ; +0x16, 0x3c40f6\nSTR             R3, [SP,#0x14+var_14]                                  ; +0x18, 0x3c40f8\nSTR             R3, [SP,#0x14+var_10]                                  ; +0x1a, 0x3c40fa\nSTR             R3, [SP,#0x14+var_C]                                   ; +0x1c, 0x3c40fc\nBLX             strlen                                                 ; +0x1e, 0x3c40fe\nMOV             R1, R6                                                 ; +0x22, 0x3c4102\nMOV             R2, R0                                                 ; +0x24, 0x3c4104\nMOV             R0, SP                                                 ; +0x26, 0x3c4106\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x28, 0x3c4108\nMOV             R0, R7                                                 ; +0x2c, 0x3c410c\nMOV             R1, SP                                                 ; +0x2e, 0x3c410e\nBL              _ZN7cocos2d12CCDictionary12objectForKeyERKNSt6__ndk112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE; cocos2d::CCDictionary::objectForKey(std::string const&) ; +0x30, 0x3c4110\nMOV             R6, R0                                                 ; +0x34, 0x3c4114\nMOV             R0, SP                                                 ; +0x36, 0x3c4116\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x38, 0x3c4118\nLDR             R2, [SP,#0x14+var_8]                                   ; +0x3c, 0x3c411c\nLDR             R3, [R4]                                               ; +0x3e, 0x3c411e\nMOV             R0, R6                                                 ; +0x40, 0x3c4120\nCMP             R2, R3                                                 ; +0x42, 0x3c4122\nBEQ             loc_3C4134                                             ; +0x44, 0x3c4124\nBLX             __stack_chk_fail                                       ; +0x46, 0x3c4126\nMOV             R0, R5                                                 ; +0x4a, 0x3c412a\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x4c, 0x3c412c\nBL              __cxa_end_cleanup                                      ; +0x50, 0x3c4130\nADD             SP, SP, #0x14                                          ; +0x54, 0x3c4134\nPOP             {R4-R7,PC}                                             ; +0x56, 0x3c4136", "xrefs": ["CCPartAnimSprite::setDisplayFrame @ 0x3c75ae", "CCPartAnimSprite::tweenToFrame @ 0x3c78e0"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}