{"type": "func", "start": 4295487572, "end": 4295487652, "name": "CCPartAnimSprite::getSpriteForKey", "pseudocode": "// \n// CCPartAnimSprite::getSpriteForKey from 0x10007f054 to 0x10007f0a4 (80 bytes)\n// \n// 3 xrefs:\n// > GJRobotSprite::updateColors @ 0x10023fe7c\n// > GJRobotSprite::updateColors @ 0x10023fe90\n// > GJRobotSprite::updateColors @ 0x10023fea4\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\nCCSpritePart *__fastcall CCPartAnimSprite::getSpriteForKey(CCPartAnimSprite *a1, const char *a2)\n{\n  cocos2d::CCDictionary *m_spritePartIDs; // x19\n  CCSpritePart *v3; // x19\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v6; // [xsp+1Fh] [xbp-11h]\n\n  m_spritePartIDs = a1->m_spritePartIDs;\n  sub_100009900(__p, (char *)a2);\n  v3 = (CCSpritePart *)cocos2d::CCDictionary::objectForKey_1(m_spritePartIDs, __p);\n  if ( v6 < 0 )\n    operator delete(__p[0]);\n  return v3;\n}", "assembly": "; \n; CCPartAnimSprite::getSpriteForKey from 0x10007f054 to 0x10007f0a4 (80 bytes)\n; \n; 3 xrefs:\n; > GJRobotSprite::updateColors @ 0x10023fe7c\n; > GJRobotSprite::updateColors @ 0x10023fe90\n; > GJRobotSprite::updateColors @ 0x10023fea4\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\nSUB             SP, SP, #0x40                                          ; +0x0, 0x10007f054\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x10007f058\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x10007f05c\nADD             X29, SP, #0x30                                         ; +0xc, 0x10007f060\nLDR             X19, [X0,#0x258]                                       ; +0x10, 0x10007f064\nADD             X0, SP, #0x30+__p; int                                 ; +0x14, 0x10007f068\nBL              sub_100009900                                          ; +0x18, 0x10007f06c\nADD             X1, SP, #0x30+__p                                      ; +0x1c, 0x10007f070\nMOV             X0, X19                                                ; +0x20, 0x10007f074\nBL              cocos2d__CCDictionary__objectForKey_1                  ; +0x24, 0x10007f078\nMOV             X19, X0                                                ; +0x28, 0x10007f07c\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x2c, 0x10007f080\nTBZ             W8, #0x1F, loc_10007F090                               ; +0x30, 0x10007f084\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x34, 0x10007f088\nBL              __ZdlPv; operator delete(void *)                       ; +0x38, 0x10007f08c\nMOV             X0, X19                                                ; +0x3c, 0x10007f090\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x40, 0x10007f094\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x44, 0x10007f098\nADD             SP, SP, #0x40 ; '@'                                    ; +0x48, 0x10007f09c\nRET                                                                    ; +0x4c, 0x10007f0a0", "xrefs": ["GJRobotSprite::updateColors @ 0x10023fe7c", "GJRobotSprite::updateColors @ 0x10023fe90", "GJRobotSprite::updateColors @ 0x10023fea4"], "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"}