{"type": "func", "start": 4089708, "end": 4089770, "name": "CCSpritePlus::setScaleX", "pseudocode": "// \n// CCSpritePlus::setScaleX from 0x3e676c to 0x3e67aa (62 bytes)\n// \n// 1 xrefs:\n// > GameObject::setScaleX @ 0x44b7e2\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:47:05 +0000\n// \n\nunsigned int __fastcall CCSpritePlus::setScaleX(cocos2d::CCArray **this, float a2)\n{\n  unsigned int result; // r0\n  unsigned int i; // r4\n  int v6; // r0\n\n  result = cocos2d::CCSprite::setScaleX((cocos2d::CCSprite *)this, a2);\n  if ( *((_BYTE *)this + 516) && *((_BYTE *)this + 517) )\n  {\n    for ( i = 0; ; ++i )\n    {\n      result = cocos2d::CCArray::count(*(this + 127));\n      if ( i >= result )\n        break;\n      v6 = cocos2d::CCArray::objectAtIndex(*(this + 127), i);\n      (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v6 + 64))(v6, LODWORD(a2));\n    }\n  }\n  return result;\n}", "assembly": "; \n; CCSpritePlus::setScaleX from 0x3e676c to 0x3e67aa (62 bytes)\n; \n; 1 xrefs:\n; > GameObject::setScaleX @ 0x44b7e2\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:47:05 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x3e676c\nMOV             R5, R0                                                 ; +0x2, 0x3e676e\nMOV             R6, R1                                                 ; +0x4, 0x3e6770\nBL              _ZN7cocos2d8CCSprite9setScaleXEf; cocos2d::CCSprite::setScaleX(float) ; +0x6, 0x3e6772\nLDRB.W          R3, [R5,#0x204]                                        ; +0xa, 0x3e6776\nCBZ             R3, locret_3E67A8                                      ; +0xe, 0x3e677a\nLDRB.W          R3, [R5,#0x205]                                        ; +0x10, 0x3e677c\nCBNZ            R3, loc_3E6784                                         ; +0x14, 0x3e6780\nPOP             {R4-R6,PC}                                             ; +0x16, 0x3e6782\nMOVS            R4, #0                                                 ; +0x18, 0x3e6784\nLDR.W           R0, [R5,#0x1FC]; this                                  ; +0x1a, 0x3e6786\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x1e, 0x3e678a\nCMP             R4, R0                                                 ; +0x22, 0x3e678e\nBCS             locret_3E67A8                                          ; +0x24, 0x3e6790\nMOV             R1, R4; unsigned int                                   ; +0x26, 0x3e6792\nLDR.W           R0, [R5,#0x1FC]; this                                  ; +0x28, 0x3e6794\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x2c, 0x3e6798\nMOV             R1, R6                                                 ; +0x30, 0x3e679c\nADDS            R4, #1                                                 ; +0x32, 0x3e679e\nLDR             R3, [R0]                                               ; +0x34, 0x3e67a0\nLDR             R3, [R3,#0x40]                                         ; +0x36, 0x3e67a2\nBLX             R3                                                     ; +0x38, 0x3e67a4\nB               loc_3E6786                                             ; +0x3a, 0x3e67a6\nPOP             {R4-R6,PC}                                             ; +0x3c, 0x3e67a8", "xrefs": ["GameObject::setScaleX @ 0x44b7e2"], "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"}