{"type": "func", "start": 6442694592, "end": 6442694731, "name": "cocos2d::CCFadeOutBLTiles::testFunc", "pseudocode": "// \n// cocos2d::CCFadeOutBLTiles::testFunc from 0x18003b7c0 to 0x18003b84b (139 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800ea4f8\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b0f30\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::CCFadeOutBLTiles::testFunc(\n        cocos2d::CCFadeOutBLTiles *this,\n        const struct cocos2d::CCSize *a2,\n        float a3)\n{\n  float *v4; // rax\n  float v5; // xmm2_4\n  float v7; // [rsp+40h] [rbp+8h] BYREF\n  float v8; // [rsp+44h] [rbp+Ch]\n  float v9; // [rsp+48h] [rbp+10h] BYREF\n\n  v4 = kmVec2Fill(&v9, *((float *)this + 24), *((float *)this + 25));\n  cocos2d::CCSize::operator*(v4, &v7, 1.0 - a3);\n  v5 = a2->height + a2->width;\n  if ( v5 == 0.0 )\n    return 1.0;\n  else\n    return powf((float)(v8 + v7) / v5, 6.0);\n}", "assembly": "; \n; cocos2d::CCFadeOutBLTiles::testFunc from 0x18003b7c0 to 0x18003b84b (139 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800ea4f8\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b0f30\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, 0x18003b7c0\nsub     rsp, 30h                                                       ; +0x2, 0x18003b7c2\nmovss   xmm1, dword ptr [rcx+60h]                                      ; +0x6, 0x18003b7c6\nmov     rbx, rdx                                                       ; +0xb, 0x18003b7cb\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xe, 0x18003b7ce\nmovaps  xmm6, xmm2                                                     ; +0x13, 0x18003b7d3\nmovss   xmm2, dword ptr [rcx+64h]                                      ; +0x16, 0x18003b7d6\nlea     rcx, [rsp+38h+arg_8]                                           ; +0x1b, 0x18003b7db\ncall    kmVec2Fill                                                     ; +0x20, 0x18003b7e0\nmovss   xmm2, cs:flt_1800E61A8                                         ; +0x25, 0x18003b7e5\nlea     rdx, [rsp+38h+arg_0]                                           ; +0x2d, 0x18003b7ed\nsubss   xmm2, xmm6                                                     ; +0x32, 0x18003b7f2\nmov     rcx, rax                                                       ; +0x36, 0x18003b7f6\ncall    ??DCCSize@cocos2d@@QEBA?AV01@M@Z; cocos2d::CCSize::operator*(float) ; +0x39, 0x18003b7f9\nmovss   xmm2, dword ptr [rbx+4]                                        ; +0x3e, 0x18003b7fe\nxorps   xmm1, xmm1                                                     ; +0x43, 0x18003b803\naddss   xmm2, dword ptr [rbx]                                          ; +0x46, 0x18003b806\nucomiss xmm2, xmm1                                                     ; +0x4a, 0x18003b80a\njp      short loc_18003B824                                            ; +0x4d, 0x18003b80d\njnz     short loc_18003B824                                            ; +0x4f, 0x18003b80f\nmovss   xmm0, cs:flt_1800E61A8                                         ; +0x51, 0x18003b811\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x59, 0x18003b819\nadd     rsp, 30h                                                       ; +0x5e, 0x18003b81e\npop     rbx                                                            ; +0x62, 0x18003b822\nretn                                                                   ; +0x63, 0x18003b823\nmovss   xmm0, [rsp+38h+arg_4]                                          ; +0x64, 0x18003b824\naddss   xmm0, [rsp+38h+arg_0]                                          ; +0x6a, 0x18003b82a\nmovss   xmm1, cs:flt_1800E7314; Y                                      ; +0x70, 0x18003b830\ndivss   xmm0, xmm2; X                                                  ; +0x78, 0x18003b838\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x7c, 0x18003b83c\nadd     rsp, 30h                                                       ; +0x81, 0x18003b841\npop     rbx                                                            ; +0x85, 0x18003b845\njmp     powf                                                           ; +0x86, 0x18003b846", "xrefs": ["<???> @ 0x1800ea4f8", "<???> @ 0x1801438a8", "<???> @ 0x1801b0f30"], "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"}