{"type": "func", "start": 4299694176, "end": 4299694301, "name": "CCSpritePlus::setScale", "pseudocode": "// \n// CCSpritePlus::setScale from 0x100482060 to 0x1004820dd (125 bytes)\n// \n// 4 xrefs:\n// > GameObject::setScale @ 0x1005bc325\n// > <???> @ 0x10091dd40\n// > <???> @ 0x10093c668\n// > <???> @ 0x1009916b8\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\nvoid __fastcall CCSpritePlus::setScale(CCSpritePlus *a1, float a2)\n{\n  unsigned int v2; // r14d\n  __int64 v3; // rax\n\n  cocos2d::CCSprite::setScale(a1, a2);\n  if ( a1->m_hasFollower && a1->m_propagateScaleChanges && (unsigned int)sub_100720070(a1->m_followers) )\n  {\n    v2 = 0;\n    do\n    {\n      v3 = sub_1007200C0(a1->m_followers, v2);\n      (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v3 + 160LL))(v3, a2);\n      ++v2;\n    }\n    while ( v2 < (unsigned int)sub_100720070(a1->m_followers) );\n  }\n}", "assembly": "; \n; CCSpritePlus::setScale from 0x100482060 to 0x1004820dd (125 bytes)\n; \n; 4 xrefs:\n; > GameObject::setScale @ 0x1005bc325\n; > <???> @ 0x10091dd40\n; > <???> @ 0x10093c668\n; > <???> @ 0x1009916b8\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    rbp                                                            ; +0x0, 0x100482060\nmov     rbp, rsp                                                       ; +0x1, 0x100482061\npush    r14                                                            ; +0x4, 0x100482064\npush    rbx                                                            ; +0x6, 0x100482066\nsub     rsp, 10h                                                       ; +0x7, 0x100482067\nmov     rbx, rdi                                                       ; +0xb, 0x10048206b\nmovss   [rbp+var_14], xmm0                                             ; +0xe, 0x10048206e\ncall    cocos2d__CCSprite__setScale                                    ; +0x13, 0x100482073\ncmp     byte ptr [rbx+268h], 1                                         ; +0x18, 0x100482078\njnz     short loc_1004820D4                                            ; +0x1f, 0x10048207f\ncmp     byte ptr [rbx+269h], 1                                         ; +0x21, 0x100482081\njnz     short loc_1004820D4                                            ; +0x28, 0x100482088\nmov     rdi, [rbx+258h]                                                ; +0x2a, 0x10048208a\ncall    sub_100720070                                                  ; +0x31, 0x100482091\ntest    eax, eax                                                       ; +0x36, 0x100482096\njz      short loc_1004820D4                                            ; +0x38, 0x100482098\nxor     r14d, r14d                                                     ; +0x3a, 0x10048209a\nnop     dword ptr [rax]                                                ; +0x3d, 0x10048209d\nmov     rdi, [rbx+258h]                                                ; +0x40, 0x1004820a0\nmov     esi, r14d                                                      ; +0x47, 0x1004820a7\ncall    sub_1007200C0                                                  ; +0x4a, 0x1004820aa\nmov     rcx, [rax]                                                     ; +0x4f, 0x1004820af\nmov     rdi, rax                                                       ; +0x52, 0x1004820b2\nmovss   xmm0, [rbp+var_14]                                             ; +0x55, 0x1004820b5\ncall    qword ptr [rcx+0A0h]                                           ; +0x5a, 0x1004820ba\ninc     r14d                                                           ; +0x60, 0x1004820c0\nmov     rdi, [rbx+258h]                                                ; +0x63, 0x1004820c3\ncall    sub_100720070                                                  ; +0x6a, 0x1004820ca\ncmp     r14d, eax                                                      ; +0x6f, 0x1004820cf\njb      short loc_1004820A0                                            ; +0x72, 0x1004820d2\nadd     rsp, 10h                                                       ; +0x74, 0x1004820d4\npop     rbx                                                            ; +0x78, 0x1004820d8\npop     r14                                                            ; +0x79, 0x1004820d9\npop     rbp                                                            ; +0x7b, 0x1004820db\nretn                                                                   ; +0x7c, 0x1004820dc", "xrefs": ["GameObject::setScale @ 0x1005bc325", "<???> @ 0x10091dd40", "<???> @ 0x10093c668", "<???> @ 0x1009916b8"], "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"}