{"type": "func", "start": 6442462368, "end": 6442462512, "name": "cocos2d::CCNode::applyScale", "pseudocode": "// \n// cocos2d::CCNode::applyScale from 0x180002ca0 to 0x180002d30 (144 bytes)\n// \n// 87 xrefs:\n// > <???> @ 0x1800eb508\n// > <???> @ 0x1800ebb78\n// > <???> @ 0x1800ebef8\n// > <???> @ 0x1800ec850\n// > <???> @ 0x1800ecd60\n// > <???> @ 0x1800f1578\n// > <???> @ 0x1800f1a68\n// > <???> @ 0x1800f1f50\n// > <???> @ 0x1800f2488\n// > <???> @ 0x1800f2b00\n// > <???> @ 0x1800f3138\n// > <???> @ 0x1800f3618\n// > <???> @ 0x1800f3b70\n// > <???> @ 0x1800f40f8\n// > <???> @ 0x1800f46f0\n// > <???> @ 0x1800f4bd0\n// > <???> @ 0x1800f4f68\n// > <???> @ 0x1800f52f8\n// > <???> @ 0x1800f5690\n// > <???> @ 0x1800f5a20\n// > <???> @ 0x1800f5db0\n// > <???> @ 0x1800f6160\n// > <???> @ 0x1800f6510\n// > <???> @ 0x1800f68c0\n// > <???> @ 0x1800f6c70\n// > <???> @ 0x1800f7020\n// > <???> @ 0x1800f73d0\n// > <???> @ 0x1800f7780\n// > <???> @ 0x1800f7b30\n// > <???> @ 0x1800f7ed0\n// > <???> @ 0x1800f8268\n// > <???> @ 0x1800f8600\n// > <???> @ 0x1800f8998\n// > <???> @ 0x1800f8d30\n// > <???> @ 0x1800f90c8\n// > <???> @ 0x1800f9460\n// > <???> @ 0x1800f97f8\n// > <???> @ 0x1800f9b88\n// > <???> @ 0x1800f9f28\n// > <???> @ 0x1800fa2d0\n// > <???> @ 0x1800fa678\n// > <???> @ 0x1800faa20\n// > <???> @ 0x1800fadc8\n// > <???> @ 0x1800fb170\n// > <???> @ 0x1800fb530\n// > <???> @ 0x1800fb8c8\n// > <???> @ 0x1800fbc68\n// > <???> @ 0x1800fc008\n// > <???> @ 0x1800fc3a8\n// > <???> @ 0x1800fc748\n// > <???> @ 0x1800fcae8\n// > <???> @ 0x1800fce88\n// > <???> @ 0x1800fd228\n// > <???> @ 0x1800fd7c0\n// > <???> @ 0x1800fdbf8\n// > <???> @ 0x1800fe050\n// > <???> @ 0x1800fe4a8\n// > <???> @ 0x1800fe900\n// > <???> @ 0x1800fed70\n// > <???> @ 0x1800ff1e0\n// > <???> @ 0x1800ff640\n// > <???> @ 0x1800ffa10\n// > <???> @ 0x1800ffe40\n// > <???> @ 0x180100260\n// > <???> @ 0x1801006a0\n// > <???> @ 0x180100d28\n// > <???> @ 0x1801013a8\n// > <???> @ 0x180101a28\n// > <???> @ 0x1801020a8\n// > <???> @ 0x180102728\n// > <???> @ 0x180102da8\n// > <???> @ 0x180103428\n// > <???> @ 0x180103aa8\n// > <???> @ 0x180104128\n// > <???> @ 0x1801047a8\n// > <???> @ 0x180104e28\n// > <???> @ 0x1801054f8\n// > <???> @ 0x180106180\n// > <???> @ 0x180109f40\n// > <???> @ 0x18010a440\n// > <???> @ 0x18010b988\n// > <???> @ 0x18010bd68\n// > <???> @ 0x18010c1d0\n// > <???> @ 0x18010c630\n// > <???> @ 0x18010cf58\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b71f8\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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:21:17 +0000\n// \n\nvoid __fastcall cocos2d::CCNode::applyScale(cocos2d::CCNode *this, float a2)\n{\n  __int64 v3; // rbx\n  __int64 v4; // rbx\n\n  v3 = *(_QWORD *)this;\n  if ( *((float *)this + 16) == *((float *)this + 17) )\n  {\n    (*(void (**)(void))(v3 + 168))();\n    (*(void (__fastcall **)(cocos2d::CCNode *))(v3 + 160))(this);\n  }\n  else\n  {\n    (*(void (**)(void))(v3 + 128))();\n    (*(void (__fastcall **)(cocos2d::CCNode *))(v3 + 120))(this);\n    v4 = *(_QWORD *)this;\n    (*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)this + 144LL))(this);\n    (*(void (__fastcall **)(cocos2d::CCNode *))(v4 + 136))(this);\n  }\n}", "assembly": "; \n; cocos2d::CCNode::applyScale from 0x180002ca0 to 0x180002d30 (144 bytes)\n; \n; 87 xrefs:\n; > <???> @ 0x1800eb508\n; > <???> @ 0x1800ebb78\n; > <???> @ 0x1800ebef8\n; > <???> @ 0x1800ec850\n; > <???> @ 0x1800ecd60\n; > <???> @ 0x1800f1578\n; > <???> @ 0x1800f1a68\n; > <???> @ 0x1800f1f50\n; > <???> @ 0x1800f2488\n; > <???> @ 0x1800f2b00\n; > <???> @ 0x1800f3138\n; > <???> @ 0x1800f3618\n; > <???> @ 0x1800f3b70\n; > <???> @ 0x1800f40f8\n; > <???> @ 0x1800f46f0\n; > <???> @ 0x1800f4bd0\n; > <???> @ 0x1800f4f68\n; > <???> @ 0x1800f52f8\n; > <???> @ 0x1800f5690\n; > <???> @ 0x1800f5a20\n; > <???> @ 0x1800f5db0\n; > <???> @ 0x1800f6160\n; > <???> @ 0x1800f6510\n; > <???> @ 0x1800f68c0\n; > <???> @ 0x1800f6c70\n; > <???> @ 0x1800f7020\n; > <???> @ 0x1800f73d0\n; > <???> @ 0x1800f7780\n; > <???> @ 0x1800f7b30\n; > <???> @ 0x1800f7ed0\n; > <???> @ 0x1800f8268\n; > <???> @ 0x1800f8600\n; > <???> @ 0x1800f8998\n; > <???> @ 0x1800f8d30\n; > <???> @ 0x1800f90c8\n; > <???> @ 0x1800f9460\n; > <???> @ 0x1800f97f8\n; > <???> @ 0x1800f9b88\n; > <???> @ 0x1800f9f28\n; > <???> @ 0x1800fa2d0\n; > <???> @ 0x1800fa678\n; > <???> @ 0x1800faa20\n; > <???> @ 0x1800fadc8\n; > <???> @ 0x1800fb170\n; > <???> @ 0x1800fb530\n; > <???> @ 0x1800fb8c8\n; > <???> @ 0x1800fbc68\n; > <???> @ 0x1800fc008\n; > <???> @ 0x1800fc3a8\n; > <???> @ 0x1800fc748\n; > <???> @ 0x1800fcae8\n; > <???> @ 0x1800fce88\n; > <???> @ 0x1800fd228\n; > <???> @ 0x1800fd7c0\n; > <???> @ 0x1800fdbf8\n; > <???> @ 0x1800fe050\n; > <???> @ 0x1800fe4a8\n; > <???> @ 0x1800fe900\n; > <???> @ 0x1800fed70\n; > <???> @ 0x1800ff1e0\n; > <???> @ 0x1800ff640\n; > <???> @ 0x1800ffa10\n; > <???> @ 0x1800ffe40\n; > <???> @ 0x180100260\n; > <???> @ 0x1801006a0\n; > <???> @ 0x180100d28\n; > <???> @ 0x1801013a8\n; > <???> @ 0x180101a28\n; > <???> @ 0x1801020a8\n; > <???> @ 0x180102728\n; > <???> @ 0x180102da8\n; > <???> @ 0x180103428\n; > <???> @ 0x180103aa8\n; > <???> @ 0x180104128\n; > <???> @ 0x1801047a8\n; > <???> @ 0x180104e28\n; > <???> @ 0x1801054f8\n; > <???> @ 0x180106180\n; > <???> @ 0x180109f40\n; > <???> @ 0x18010a440\n; > <???> @ 0x18010b988\n; > <???> @ 0x18010bd68\n; > <???> @ 0x18010c1d0\n; > <???> @ 0x18010c630\n; > <???> @ 0x18010cf58\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b71f8\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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:21:17 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180002ca0\npush    rdi                                                            ; +0x5, 0x180002ca5\nsub     rsp, 30h                                                       ; +0x6, 0x180002ca6\nmovss   xmm0, dword ptr [rcx+40h]                                      ; +0xa, 0x180002caa\nmov     rdi, rcx                                                       ; +0xf, 0x180002caf\nucomiss xmm0, dword ptr [rcx+44h]                                      ; +0x12, 0x180002cb2\nmov     rbx, [rcx]                                                     ; +0x16, 0x180002cb6\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x19, 0x180002cb9\nmovaps  xmm6, xmm1                                                     ; +0x1e, 0x180002cbe\njp      short loc_180002CEE                                            ; +0x21, 0x180002cc1\njnz     short loc_180002CEE                                            ; +0x23, 0x180002cc3\ncall    qword ptr [rbx+0A8h]                                           ; +0x25, 0x180002cc5\nmulss   xmm0, xmm6                                                     ; +0x2b, 0x180002ccb\nmov     rcx, rdi                                                       ; +0x2f, 0x180002ccf\nmovaps  xmm1, xmm0                                                     ; +0x32, 0x180002cd2\nmov     rax, [rbx+0A0h]                                                ; +0x35, 0x180002cd5\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x3c, 0x180002cdc\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x41, 0x180002ce1\nadd     rsp, 30h                                                       ; +0x46, 0x180002ce6\npop     rdi                                                            ; +0x4a, 0x180002cea\njmp     rax                                                            ; +0x4b, 0x180002ceb\ncall    qword ptr [rbx+80h]                                            ; +0x4e, 0x180002cee\nmulss   xmm0, xmm6                                                     ; +0x54, 0x180002cf4\nmov     rcx, rdi                                                       ; +0x58, 0x180002cf8\nmovaps  xmm1, xmm0                                                     ; +0x5b, 0x180002cfb\ncall    qword ptr [rbx+78h]                                            ; +0x5e, 0x180002cfe\nmov     rbx, [rdi]                                                     ; +0x61, 0x180002d01\nmov     rcx, rdi                                                       ; +0x64, 0x180002d04\ncall    qword ptr [rbx+90h]                                            ; +0x67, 0x180002d07\nmulss   xmm0, xmm6                                                     ; +0x6d, 0x180002d0d\nmov     rcx, rdi                                                       ; +0x71, 0x180002d11\nmovaps  xmm1, xmm0                                                     ; +0x74, 0x180002d14\nmov     rax, [rbx+88h]                                                 ; +0x77, 0x180002d17\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x7e, 0x180002d1e\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x83, 0x180002d23\nadd     rsp, 30h                                                       ; +0x88, 0x180002d28\npop     rdi                                                            ; +0x8c, 0x180002d2c\njmp     rax                                                            ; +0x8d, 0x180002d2d", "xrefs": ["<???> @ 0x1800eb508", "<???> @ 0x1800ebb78", "<???> @ 0x1800ebef8", "<???> @ 0x1800ec850", "<???> @ 0x1800ecd60", "<???> @ 0x1800f1578", "<???> @ 0x1800f1a68", "<???> @ 0x1800f1f50", "<???> @ 0x1800f2488", "<???> @ 0x1800f2b00", "<???> @ 0x1800f3138", "<???> @ 0x1800f3618", "<???> @ 0x1800f3b70", "<???> @ 0x1800f40f8", "<???> @ 0x1800f46f0", "<???> @ 0x1800f4bd0", "<???> @ 0x1800f4f68", "<???> @ 0x1800f52f8", "<???> @ 0x1800f5690", "<???> @ 0x1800f5a20", "<???> @ 0x1800f5db0", "<???> @ 0x1800f6160", "<???> @ 0x1800f6510", "<???> @ 0x1800f68c0", "<???> @ 0x1800f6c70", "<???> @ 0x1800f7020", "<???> @ 0x1800f73d0", "<???> @ 0x1800f7780", "<???> @ 0x1800f7b30", "<???> @ 0x1800f7ed0", "<???> @ 0x1800f8268", "<???> @ 0x1800f8600", "<???> @ 0x1800f8998", "<???> @ 0x1800f8d30", "<???> @ 0x1800f90c8", "<???> @ 0x1800f9460", "<???> @ 0x1800f97f8", "<???> @ 0x1800f9b88", "<???> @ 0x1800f9f28", "<???> @ 0x1800fa2d0", "<???> @ 0x1800fa678", "<???> @ 0x1800faa20", "<???> @ 0x1800fadc8", "<???> @ 0x1800fb170", "<???> @ 0x1800fb530", "<???> @ 0x1800fb8c8", "<???> @ 0x1800fbc68", "<???> @ 0x1800fc008", "<???> @ 0x1800fc3a8", "<???> @ 0x1800fc748", "<???> @ 0x1800fcae8", "<???> @ 0x1800fce88", "<???> @ 0x1800fd228", "<???> @ 0x1800fd7c0", "<???> @ 0x1800fdbf8", "<???> @ 0x1800fe050", "<???> @ 0x1800fe4a8", "<???> @ 0x1800fe900", "<???> @ 0x1800fed70", "<???> @ 0x1800ff1e0", "<???> @ 0x1800ff640", "<???> @ 0x1800ffa10", "<???> @ 0x1800ffe40", "<???> @ 0x180100260", "<???> @ 0x1801006a0", "<???> @ 0x180100d28", "<???> @ 0x1801013a8", "<???> @ 0x180101a28", "<???> @ 0x1801020a8", "<???> @ 0x180102728", "<???> @ 0x180102da8", "<???> @ 0x180103428", "<???> @ 0x180103aa8", "<???> @ 0x180104128", "<???> @ 0x1801047a8", "<???> @ 0x180104e28", "<???> @ 0x1801054f8", "<???> @ 0x180106180", "<???> @ 0x180109f40", "<???> @ 0x18010a440", "<???> @ 0x18010b988", "<???> @ 0x18010bd68", "<???> @ 0x18010c1d0", "<???> @ 0x18010c630", "<???> @ 0x18010cf58", "<???> @ 0x18014cf68", "<???> @ 0x1801b71f8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}