{"type": "func", "start": 4296167728, "end": 4296167846, "name": "GJBaseGameLayer::getTargetFlyCameraY", "pseudocode": "// \n// GJBaseGameLayer::getTargetFlyCameraY from 0x100125130 to 0x1001251a6 (118 bytes)\n// \n// 0 xrefs:\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 GJBaseGameLayer::getTargetFlyCameraY(GJBaseGameLayer *a1, GameObject *m_startPosObject)\n{\n  StartPosObject *m_lastActivatedPortal2; // rax\n  _BYTE v4[4]; // [rsp+8h] [rbp-8h] BYREF\n  float v5; // [rsp+Ch] [rbp-4h]\n\n  if ( a1->m_gameState.m_isDualMode\n    && ((m_lastActivatedPortal2 = (StartPosObject *)a1->m_gameState.m_lastActivatedPortal2) != nullptr\n     || (m_lastActivatedPortal2 = a1->m_startPosObject) != nullptr) )\n  {\n    ((void (__fastcall *)(_BYTE *, StartPosObject *))m_lastActivatedPortal2->getStartPos)(v4, m_lastActivatedPortal2);\n    return v5;\n  }\n  else if ( m_startPosObject || (m_startPosObject = a1->m_startPosObject) != nullptr )\n  {\n    ((void (__fastcall *)(_BYTE *))m_startPosObject->getStartPos)(v4);\n    return v5;\n  }\n  else\n  {\n    return 0.0;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::getTargetFlyCameraY from 0x100125130 to 0x1001251a6 (118 bytes)\n; \n; 0 xrefs:\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    rbp                                                            ; +0x0, 0x100125130\nmov     rbp, rsp                                                       ; +0x1, 0x100125131\nsub     rsp, 10h                                                       ; +0x4, 0x100125134\ncmp     byte ptr [rdi+3F2h], 1                                         ; +0x8, 0x100125138\njnz     short loc_100125174                                            ; +0xf, 0x10012513f\nmov     rax, [rdi+3D8h]                                                ; +0x11, 0x100125141\ntest    rax, rax                                                       ; +0x18, 0x100125148\njnz     short loc_100125159                                            ; +0x1b, 0x10012514b\nmov     rax, [rdi+2FF0h]                                               ; +0x1d, 0x10012514d\ntest    rax, rax                                                       ; +0x24, 0x100125154\njz      short loc_100125174                                            ; +0x27, 0x100125157\nmov     rcx, [rax]                                                     ; +0x29, 0x100125159\nlea     rdi, [rbp+var_8]                                               ; +0x2c, 0x10012515c\nmov     rsi, rax                                                       ; +0x30, 0x100125160\ncall    qword ptr [rcx+708h]                                           ; +0x33, 0x100125163\nmovss   xmm0, [rbp+var_4]                                              ; +0x39, 0x100125169\nadd     rsp, 10h                                                       ; +0x3e, 0x10012516e\npop     rbp                                                            ; +0x42, 0x100125172\nretn                                                                   ; +0x43, 0x100125173\ntest    rsi, rsi                                                       ; +0x44, 0x100125174\njnz     short loc_100125185                                            ; +0x47, 0x100125177\nmov     rsi, [rdi+2FF0h]                                               ; +0x49, 0x100125179\ntest    rsi, rsi                                                       ; +0x50, 0x100125180\njz      short loc_10012519D                                            ; +0x53, 0x100125183\nmov     rax, [rsi]                                                     ; +0x55, 0x100125185\nlea     rdi, [rbp+var_8]                                               ; +0x58, 0x100125188\ncall    qword ptr [rax+708h]                                           ; +0x5c, 0x10012518c\nmovss   xmm0, [rbp+var_4]                                              ; +0x62, 0x100125192\nadd     rsp, 10h                                                       ; +0x67, 0x100125197\npop     rbp                                                            ; +0x6b, 0x10012519b\nretn                                                                   ; +0x6c, 0x10012519c\nxorps   xmm0, xmm0                                                     ; +0x6d, 0x10012519d\nadd     rsp, 10h                                                       ; +0x70, 0x1001251a0\npop     rbp                                                            ; +0x74, 0x1001251a4\nretn                                                                   ; +0x75, 0x1001251a5", "xrefs": [], "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"}