{"type": "func", "start": 3961768, "end": 3961858, "name": "CCPartAnimSprite::getSpriteForKey", "pseudocode": "// \n// CCPartAnimSprite::getSpriteForKey from 0x3c73a8 to 0x3c7402 (90 bytes)\n// \n// 3 xrefs:\n// > GJRobotSprite::updateColors @ 0x5e6578\n// > GJRobotSprite::updateColors @ 0x5e6586\n// > GJRobotSprite::updateColors @ 0x5e6594\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:35 +0000\n// \n\nint __fastcall CCPartAnimSprite::getSpriteForKey(CCPartAnimSprite *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 + 127);\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; CCPartAnimSprite::getSpriteForKey from 0x3c73a8 to 0x3c7402 (90 bytes)\n; \n; 3 xrefs:\n; > GJRobotSprite::updateColors @ 0x5e6578\n; > GJRobotSprite::updateColors @ 0x5e6586\n; > GJRobotSprite::updateColors @ 0x5e6594\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:35 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0x3c73a8\nSUB             SP, SP, #0x14                                          ; +0x2, 0x3c73aa\nLDR             R4, =(__stack_chk_guard_ptr - 0x3C73BA)                ; +0x4, 0x3c73ac\nMOV             R6, R1                                                 ; +0x6, 0x3c73ae\nLDR.W           R7, [R0,#0x1FC]                                        ; +0x8, 0x3c73b0\nMOV             R0, R1; char *                                         ; +0xc, 0x3c73b4\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xe, 0x3c73b6\nLDR             R4, [R4]; __stack_chk_guard                            ; +0x10, 0x3c73b8\nMOV             R5, SP                                                 ; +0x12, 0x3c73ba\nLDR             R3, [R4]                                               ; +0x14, 0x3c73bc\nSTR             R3, [SP,#0x14+var_8]                                   ; +0x16, 0x3c73be\nMOVS            R3, #0                                                 ; +0x18, 0x3c73c0\nSTR             R3, [SP,#0x14+var_14]                                  ; +0x1a, 0x3c73c2\nSTR             R3, [SP,#0x14+var_10]                                  ; +0x1c, 0x3c73c4\nSTR             R3, [SP,#0x14+var_C]                                   ; +0x1e, 0x3c73c6\nBLX             strlen                                                 ; +0x20, 0x3c73c8\nMOV             R1, R6                                                 ; +0x24, 0x3c73cc\nMOV             R2, R0                                                 ; +0x26, 0x3c73ce\nMOV             R0, SP                                                 ; +0x28, 0x3c73d0\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x2a, 0x3c73d2\nMOV             R0, R7                                                 ; +0x2e, 0x3c73d6\nMOV             R1, SP                                                 ; +0x30, 0x3c73d8\nBL              _ZN7cocos2d12CCDictionary12objectForKeyERKNSt6__ndk112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE; cocos2d::CCDictionary::objectForKey(std::string const&) ; +0x32, 0x3c73da\nMOV             R6, R0                                                 ; +0x36, 0x3c73de\nMOV             R0, SP                                                 ; +0x38, 0x3c73e0\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x3a, 0x3c73e2\nLDR             R2, [SP,#0x14+var_8]                                   ; +0x3e, 0x3c73e6\nLDR             R3, [R4]                                               ; +0x40, 0x3c73e8\nMOV             R0, R6                                                 ; +0x42, 0x3c73ea\nCMP             R2, R3                                                 ; +0x44, 0x3c73ec\nBEQ             loc_3C73FE                                             ; +0x46, 0x3c73ee\nBLX             __stack_chk_fail                                       ; +0x48, 0x3c73f0\nMOV             R0, R5                                                 ; +0x4c, 0x3c73f4\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x4e, 0x3c73f6\nBL              __cxa_end_cleanup                                      ; +0x52, 0x3c73fa\nADD             SP, SP, #0x14                                          ; +0x56, 0x3c73fe\nPOP             {R4-R7,PC}                                             ; +0x58, 0x3c7400", "xrefs": ["GJRobotSprite::updateColors @ 0x5e6578", "GJRobotSprite::updateColors @ 0x5e6586", "GJRobotSprite::updateColors @ 0x5e6594"], "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"}