{"type": "func", "start": 5372510752, "end": 5372510871, "name": "PlayerObject::updatePlayerScale", "pseudocode": "// \n// PlayerObject::updatePlayerScale from 0x1403a0220 to 0x1403a0297 (119 bytes)\n// \n// 8 xrefs:\n// > PlayerObject::flipGravity @ 0x14039a332\n// > PlayerObject::toggleFlyMode @ 0x14039a7c1\n// > PlayerObject::toggleBirdMode @ 0x14039aac5\n// > PlayerObject::toggleDartMode @ 0x14039b0ee\n// > PlayerObject::resetPlayerIcon @ 0x14039b4bb\n// > PlayerObject::toggleRobotMode @ 0x14039b934\n// > PlayerObject::toggleSpiderMode @ 0x14039bcc9\n// > <???> @ 0x1406d6908\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 PlayerObject::updatePlayerScale(PlayerObject *a1)\n{\n  GJActionManager *m_actionManager; // rdi\n  struct cocos2d::CCObject *v3; // rax\n\n  m_actionManager = a1->m_actionManager;\n  v3 = cocos2d::CCDictionary::objectForKey(m_actionManager->m_internalActions, 6);\n  if ( v3 )\n  {\n    ((void (__fastcall *)(struct cocos2d::CCObject *))v3->__vftable[1].isEqual)(v3);\n    cocos2d::CCDictionary::removeObjectForKey(m_actionManager->m_internalActions, 6);\n  }\n  ((void (__fastcall *)(PlayerObject *))a1->setScaleX)(a1);\n  ((void (__fastcall *)(PlayerObject *))a1->setScaleY)(a1);\n}", "assembly": "; \n; PlayerObject::updatePlayerScale from 0x1403a0220 to 0x1403a0297 (119 bytes)\n; \n; 8 xrefs:\n; > PlayerObject::flipGravity @ 0x14039a332\n; > PlayerObject::toggleFlyMode @ 0x14039a7c1\n; > PlayerObject::toggleBirdMode @ 0x14039aac5\n; > PlayerObject::toggleDartMode @ 0x14039b0ee\n; > PlayerObject::resetPlayerIcon @ 0x14039b4bb\n; > PlayerObject::toggleRobotMode @ 0x14039b934\n; > PlayerObject::toggleSpiderMode @ 0x14039bcc9\n; > <???> @ 0x1406d6908\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1403a0220\npush    rdi                                                            ; +0x5, 0x1403a0225\nsub     rsp, 20h                                                       ; +0x6, 0x1403a0226\nmov     rdi, [rcx+0C30h]                                               ; +0xa, 0x1403a022a\nmov     rbx, rcx                                                       ; +0x11, 0x1403a0231\nmov     edx, 6                                                         ; +0x14, 0x1403a0234\nmov     rcx, [rdi+140h]                                                ; +0x19, 0x1403a0239\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x20, 0x1403a0240\ntest    rax, rax                                                       ; +0x26, 0x1403a0246\njz      short loc_1403A0267                                            ; +0x29, 0x1403a0249\nmov     r8, [rax]                                                      ; +0x2b, 0x1403a024b\nmov     rcx, rax                                                       ; +0x2e, 0x1403a024e\ncall    qword ptr [r8+58h]                                             ; +0x31, 0x1403a0251\nmov     rcx, [rdi+140h]                                                ; +0x35, 0x1403a0255\nmov     edx, 6                                                         ; +0x3c, 0x1403a025c\ncall    cs:?removeObjectForKey@CCDictionary@cocos2d@@QEAAX_J@Z; cocos2d::CCDictionary::removeObjectForKey(__int64) ; +0x41, 0x1403a0261\nmov     rax, [rbx]                                                     ; +0x47, 0x1403a0267\nmov     rcx, rbx                                                       ; +0x4a, 0x1403a026a\nmovss   xmm1, dword ptr [rbx+9F0h]                                     ; +0x4d, 0x1403a026d\ncall    qword ptr [rax+78h]                                            ; +0x55, 0x1403a0275\nmov     rax, [rbx]                                                     ; +0x58, 0x1403a0278\nmov     rcx, rbx                                                       ; +0x5b, 0x1403a027b\nmovss   xmm1, dword ptr [rbx+9F0h]                                     ; +0x5e, 0x1403a027e\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x66, 0x1403a0286\nadd     rsp, 20h                                                       ; +0x6b, 0x1403a028b\npop     rdi                                                            ; +0x6f, 0x1403a028f\njmp     qword ptr [rax+88h]                                            ; +0x70, 0x1403a0290", "xrefs": ["PlayerObject::flipGravity @ 0x14039a332", "PlayerObject::toggleFlyMode @ 0x14039a7c1", "PlayerObject::toggleBirdMode @ 0x14039aac5", "PlayerObject::toggleDartMode @ 0x14039b0ee", "PlayerObject::resetPlayerIcon @ 0x14039b4bb", "PlayerObject::toggleRobotMode @ 0x14039b934", "PlayerObject::toggleSpiderMode @ 0x14039bcc9", "<???> @ 0x1406d6908"], "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"}