{"type": "func", "start": 6442694880, "end": 6442695010, "name": "cocos2d::CCFadeOutTRTiles::testFunc", "pseudocode": "// \n// cocos2d::CCFadeOutTRTiles::testFunc from 0x18003b8e0 to 0x18003b962 (130 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800ea460\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b0f48\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\nfloat __fastcall cocos2d::CCFadeOutTRTiles::testFunc(\n        cocos2d::CCFadeOutTRTiles *this,\n        const struct cocos2d::CCSize *a2,\n        float a3)\n{\n  float *v4; // rax\n  float v6; // [rsp+40h] [rbp+8h] BYREF\n  float v7; // [rsp+44h] [rbp+Ch]\n  float v8; // [rsp+58h] [rbp+20h] BYREF\n\n  v4 = kmVec2Fill(&v8, *((float *)this + 24), *((float *)this + 25));\n  cocos2d::CCSize::operator*(v4, &v6, a3);\n  if ( (float)(v7 + v6) == 0.0 )\n    return 1.0;\n  else\n    return powf((float)(a2->height + a2->width) / (float)(v7 + v6), 6.0);\n}", "assembly": "; \n; cocos2d::CCFadeOutTRTiles::testFunc from 0x18003b8e0 to 0x18003b962 (130 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800ea460\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b0f48\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    rbx                                                            ; +0x0, 0x18003b8e0\nsub     rsp, 30h                                                       ; +0x2, 0x18003b8e2\nmovss   xmm1, dword ptr [rcx+60h]                                      ; +0x6, 0x18003b8e6\nmov     rbx, rdx                                                       ; +0xb, 0x18003b8eb\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xe, 0x18003b8ee\nmovaps  xmm6, xmm2                                                     ; +0x13, 0x18003b8f3\nmovss   xmm2, dword ptr [rcx+64h]                                      ; +0x16, 0x18003b8f6\nlea     rcx, [rsp+38h+arg_18]                                          ; +0x1b, 0x18003b8fb\ncall    kmVec2Fill                                                     ; +0x20, 0x18003b900\nmovaps  xmm2, xmm6                                                     ; +0x25, 0x18003b905\nlea     rdx, [rsp+38h+arg_0]                                           ; +0x28, 0x18003b908\nmov     rcx, rax                                                       ; +0x2d, 0x18003b90d\ncall    ??DCCSize@cocos2d@@QEBA?AV01@M@Z; cocos2d::CCSize::operator*(float) ; +0x30, 0x18003b910\nmovss   xmm1, [rsp+38h+arg_4]                                          ; +0x35, 0x18003b915\nxorps   xmm0, xmm0                                                     ; +0x3b, 0x18003b91b\naddss   xmm1, [rsp+38h+arg_0]                                          ; +0x3e, 0x18003b91e\nucomiss xmm1, xmm0                                                     ; +0x44, 0x18003b924\njp      short loc_18003B93E                                            ; +0x47, 0x18003b927\njnz     short loc_18003B93E                                            ; +0x49, 0x18003b929\nmovss   xmm0, cs:flt_1800E61A8                                         ; +0x4b, 0x18003b92b\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x53, 0x18003b933\nadd     rsp, 30h                                                       ; +0x58, 0x18003b938\npop     rbx                                                            ; +0x5c, 0x18003b93c\nretn                                                                   ; +0x5d, 0x18003b93d\nmovss   xmm0, dword ptr [rbx+4]                                        ; +0x5e, 0x18003b93e\naddss   xmm0, dword ptr [rbx]                                          ; +0x63, 0x18003b943\ndivss   xmm0, xmm1; X                                                  ; +0x67, 0x18003b947\nmovss   xmm1, cs:flt_1800E7314; Y                                      ; +0x6b, 0x18003b94b\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x73, 0x18003b953\nadd     rsp, 30h                                                       ; +0x78, 0x18003b958\npop     rbx                                                            ; +0x7c, 0x18003b95c\njmp     powf                                                           ; +0x7d, 0x18003b95d", "xrefs": ["<???> @ 0x1800ea460", "<???> @ 0x1801438a8", "<???> @ 0x1801b0f48"], "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"}