{"type": "func", "start": 6442694736, "end": 6442694865, "name": "cocos2d::CCFadeOutDownTiles::testFunc", "pseudocode": "// \n// cocos2d::CCFadeOutDownTiles::testFunc from 0x18003b850 to 0x18003b8d1 (129 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800ea628\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b0f3c\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::CCFadeOutDownTiles::testFunc(\n        cocos2d::CCFadeOutDownTiles *this,\n        const struct cocos2d::CCSize *a2,\n        float a3)\n{\n  float *v4; // rax\n  float height; // 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  height = a2->height;\n  if ( height == 0.0 )\n    return 1.0;\n  else\n    return powf(v8 / height, 6.0);\n}", "assembly": "; \n; cocos2d::CCFadeOutDownTiles::testFunc from 0x18003b850 to 0x18003b8d1 (129 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800ea628\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b0f3c\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, 0x18003b850\nsub     rsp, 30h                                                       ; +0x2, 0x18003b852\nmovss   xmm1, dword ptr [rcx+60h]                                      ; +0x6, 0x18003b856\nmov     rbx, rdx                                                       ; +0xb, 0x18003b85b\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xe, 0x18003b85e\nmovaps  xmm6, xmm2                                                     ; +0x13, 0x18003b863\nmovss   xmm2, dword ptr [rcx+64h]                                      ; +0x16, 0x18003b866\nlea     rcx, [rsp+38h+arg_8]                                           ; +0x1b, 0x18003b86b\ncall    kmVec2Fill                                                     ; +0x20, 0x18003b870\nmovss   xmm2, cs:flt_1800E61A8                                         ; +0x25, 0x18003b875\nlea     rdx, [rsp+38h+arg_0]                                           ; +0x2d, 0x18003b87d\nsubss   xmm2, xmm6                                                     ; +0x32, 0x18003b882\nmov     rcx, rax                                                       ; +0x36, 0x18003b886\ncall    ??DCCSize@cocos2d@@QEBA?AV01@M@Z; cocos2d::CCSize::operator*(float) ; +0x39, 0x18003b889\nmovss   xmm2, dword ptr [rbx+4]                                        ; +0x3e, 0x18003b88e\nxorps   xmm1, xmm1                                                     ; +0x43, 0x18003b893\nucomiss xmm2, xmm1                                                     ; +0x46, 0x18003b896\njp      short loc_18003B8B0                                            ; +0x49, 0x18003b899\njnz     short loc_18003B8B0                                            ; +0x4b, 0x18003b89b\nmovss   xmm0, cs:flt_1800E61A8                                         ; +0x4d, 0x18003b89d\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x55, 0x18003b8a5\nadd     rsp, 30h                                                       ; +0x5a, 0x18003b8aa\npop     rbx                                                            ; +0x5e, 0x18003b8ae\nretn                                                                   ; +0x5f, 0x18003b8af\nmovss   xmm0, [rsp+38h+arg_4]                                          ; +0x60, 0x18003b8b0\nmovss   xmm1, cs:flt_1800E7314; Y                                      ; +0x66, 0x18003b8b6\ndivss   xmm0, xmm2; X                                                  ; +0x6e, 0x18003b8be\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x72, 0x18003b8c2\nadd     rsp, 30h                                                       ; +0x77, 0x18003b8c7\npop     rbx                                                            ; +0x7b, 0x18003b8cb\njmp     powf                                                           ; +0x7c, 0x18003b8cc", "xrefs": ["<???> @ 0x1800ea628", "<???> @ 0x1801438a8", "<???> @ 0x1801b0f3c"], "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"}