{"type": "func", "start": 5371981952, "end": 5371982444, "name": "GJBaseGameLayer::bumpPlayer", "pseudocode": "// \n// GJBaseGameLayer::bumpPlayer from 0x14031f080 to 0x14031f26c (492 bytes)\n// \n// 4 xrefs:\n// > GJBaseGameLayer::collisionCheckObjects @ 0x14031cc7d\n// > <???> @ 0x1408b5494\n// > <???> @ 0x1408b54a4\n// > <???> @ 0x14091ed04\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:30:22 +0000\n// \n\ndouble __fastcall GJBaseGameLayer::bumpPlayer(__int64 a1, __int64 a2, _BYTE *a3)\n{\n  __int64 v6; // rax\n  __int64 v7; // rbx\n  __int64 v8; // rax\n  unsigned __int8 v9; // bl\n  int v10; // eax\n  int v11; // edx\n  unsigned int v12; // eax\n  __int64 v13; // rcx\n  unsigned int v14; // eax\n  double result; // xmm0_8\n  _BYTE v16[16]; // [rsp+30h] [rbp-28h] BYREF\n  char v17; // [rsp+78h] [rbp+20h] BYREF\n\n  if ( GJBaseGameLayer::canBeActivatedByPlayer(a1, a2, a3) )\n  {\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v16, 0.0, -10.0);\n    v7 = v6;\n    v8 = (*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)a3 + 200LL))(a3);\n    cocos2d::CCPoint::operator+(v8, &v17, v7);\n    cocos2d::CCPoint::operator=(a2 + 2568, &v17);\n    (*(void (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)a3 + 1384LL))(a3, a2);\n    (*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)a3 + 1648LL))(a3);\n    *(_QWORD *)(a2 + 2696) = a3;\n    if ( a3[1796] )\n      PlayerObject::reversePlayer(a2, a3);\n    v9 = a3[1052];\n    v10 = (*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)a3 + 1648LL))(a3);\n    PlayerObject::bumpPlayer(a2, v11, v10, v9, (__int64)a3);\n    v12 = (*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)a3 + 1648LL))(a3);\n    v14 = GJBaseGameLayer::objectTypeToGameEvent(v13, v12);\n    GJBaseGameLayer::gameEventTriggered(a1, v14, 0, 0);\n    return GJBaseGameLayer::gameEventTriggered(a1, 9, 0, 0);\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::bumpPlayer from 0x14031f080 to 0x14031f26c (492 bytes)\n; \n; 4 xrefs:\n; > GJBaseGameLayer::collisionCheckObjects @ 0x14031cc7d\n; > <???> @ 0x1408b5494\n; > <???> @ 0x1408b54a4\n; > <???> @ 0x14091ed04\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:30:22 +0000\n; \nmov     [rsp+arg_8], rbp                                               ; +0x0, 0x14031f080\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x14031f085\npush    rdi                                                            ; +0xa, 0x14031f08a\nsub     rsp, 50h                                                       ; +0xb, 0x14031f08b\nmov     rsi, r8                                                        ; +0xf, 0x14031f08f\nmov     rdi, rdx                                                       ; +0x12, 0x14031f092\nmov     rbp, rcx                                                       ; +0x15, 0x14031f095\ncall    GJBaseGameLayer__canBeActivatedByPlayer                        ; +0x18, 0x14031f098\ntest    al, al                                                         ; +0x1d, 0x14031f09d\njz      loc_14031F25C                                                  ; +0x1f, 0x14031f09f\nmovss   xmm2, cs:dword_140835DC4                                       ; +0x25, 0x14031f0a5\nlea     rcx, [rsp+58h+var_28]                                          ; +0x2d, 0x14031f0ad\nmov     [rsp+58h+arg_0], rbx                                           ; +0x32, 0x14031f0b2\nxorps   xmm1, xmm1                                                     ; +0x37, 0x14031f0b7\nmovaps  [rsp+58h+var_18], xmm6                                         ; +0x3a, 0x14031f0ba\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x3f, 0x14031f0bf\nmov     rcx, [rsi]                                                     ; +0x45, 0x14031f0c5\nmov     rbx, rax                                                       ; +0x48, 0x14031f0c8\nmov     rdx, [rcx+0C8h]                                                ; +0x4b, 0x14031f0cb\nmov     rcx, rsi                                                       ; +0x52, 0x14031f0d2\ncall    rdx                                                            ; +0x55, 0x14031f0d5\nmov     r8, rbx                                                        ; +0x57, 0x14031f0d7\nlea     rdx, [rsp+58h+arg_18]                                          ; +0x5a, 0x14031f0da\nmov     rcx, rax                                                       ; +0x5f, 0x14031f0df\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x62, 0x14031f0e2\nlea     rcx, [rdi+0A08h]                                               ; +0x68, 0x14031f0e8\nlea     rdx, [rsp+58h+arg_18]                                          ; +0x6f, 0x14031f0ef\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x74, 0x14031f0f4\nmov     rax, [rsi]                                                     ; +0x7a, 0x14031f0fa\nmov     rdx, rdi                                                       ; +0x7d, 0x14031f0fd\nmov     rcx, rsi                                                       ; +0x80, 0x14031f100\ncall    qword ptr [rax+568h]                                           ; +0x83, 0x14031f103\nmov     rax, [rsi]                                                     ; +0x89, 0x14031f109\nmov     rcx, rsi                                                       ; +0x8c, 0x14031f10c\ncall    qword ptr [rax+670h]                                           ; +0x8f, 0x14031f10f\nmovss   xmm6, cs:flt_140835080                                         ; +0x95, 0x14031f115\ncmp     eax, 9                                                         ; +0x9d, 0x14031f11d\njnz     short loc_14031F17E                                            ; +0xa0, 0x14031f120\ncmp     byte ptr [rdi+9C1h], 0                                         ; +0xa2, 0x14031f122\njz      short loc_14031F138                                            ; +0xa9, 0x14031f129\nmovss   xmm6, cs:dword_140834EC0                                       ; +0xab, 0x14031f12b\njmp     loc_14031F1D7                                                  ; +0xb3, 0x14031f133\ncmp     byte ptr [rdi+9C2h], 0                                         ; +0xb8, 0x14031f138\njz      short loc_14031F14E                                            ; +0xbf, 0x14031f13f\nmovss   xmm6, cs:dword_140834EDC                                       ; +0xc1, 0x14031f141\njmp     loc_14031F1D7                                                  ; +0xc9, 0x14031f149\ncmp     byte ptr [rdi+9C3h], 0                                         ; +0xce, 0x14031f14e\njz      short loc_14031F161                                            ; +0xd5, 0x14031f155\nmovss   xmm6, cs:dword_140834FAC                                       ; +0xd7, 0x14031f157\njmp     short loc_14031F1D7                                            ; +0xdf, 0x14031f15f\ncmp     byte ptr [rdi+9C6h], 0                                         ; +0xe1, 0x14031f161\njz      short loc_14031F174                                            ; +0xe8, 0x14031f168\nmovss   xmm6, cs:dword_140834FAC                                       ; +0xea, 0x14031f16a\njmp     short loc_14031F1D7                                            ; +0xf2, 0x14031f172\nmovss   xmm6, cs:dword_140834F94                                       ; +0xf4, 0x14031f174\njmp     short loc_14031F1D7                                            ; +0xfc, 0x14031f17c\ncmp     eax, 22h ; '\"'                                                 ; +0xfe, 0x14031f17e\njnz     short loc_14031F1D7                                            ; +0x101, 0x14031f181\ncmp     byte ptr [rdi+9C1h], 0                                         ; +0x103, 0x14031f183\njz      short loc_14031F1A9                                            ; +0x10a, 0x14031f18a\ncomiss  xmm6, dword ptr [rdi+9F8h]                                     ; +0x10c, 0x14031f18c\njbe     short loc_14031F19F                                            ; +0x113, 0x14031f193\nmovss   xmm6, cs:flt_14083504C                                         ; +0x115, 0x14031f195\njmp     short loc_14031F1D7                                            ; +0x11d, 0x14031f19d\nmovss   xmm6, cs:dword_140834F88                                       ; +0x11f, 0x14031f19f\njmp     short loc_14031F1D7                                            ; +0x127, 0x14031f1a7\ncmp     byte ptr [rdi+9C2h], 0                                         ; +0x129, 0x14031f1a9\njz      short loc_14031F1CF                                            ; +0x130, 0x14031f1b0\ncomiss  xmm6, dword ptr [rdi+9F8h]                                     ; +0x132, 0x14031f1b2\njbe     short loc_14031F1C5                                            ; +0x139, 0x14031f1b9\nmovss   xmm6, cs:dword_140835068                                       ; +0x13b, 0x14031f1bb\njmp     short loc_14031F1D7                                            ; +0x143, 0x14031f1c3\nmovss   xmm6, cs:dword_140834F64                                       ; +0x145, 0x14031f1c5\njmp     short loc_14031F1D7                                            ; +0x14d, 0x14031f1cd\nmovss   xmm6, cs:dword_1408350E8                                       ; +0x14f, 0x14031f1cf\nmov     [rdi+0A88h], rsi                                               ; +0x157, 0x14031f1d7\ncmp     byte ptr [rsi+704h], 0                                         ; +0x15e, 0x14031f1de\njz      short loc_14031F1F2                                            ; +0x165, 0x14031f1e5\nmov     rdx, rsi                                                       ; +0x167, 0x14031f1e7\nmov     rcx, rdi                                                       ; +0x16a, 0x14031f1ea\ncall    PlayerObject__reversePlayer                                    ; +0x16d, 0x14031f1ed\nmov     rax, [rsi]                                                     ; +0x172, 0x14031f1f2\nmov     rcx, rsi                                                       ; +0x175, 0x14031f1f5\nmovzx   ebx, byte ptr [rsi+41Ch]                                       ; +0x178, 0x14031f1f8\ncall    qword ptr [rax+670h]                                           ; +0x17f, 0x14031f1ff\nmovzx   r9d, bl                                                        ; +0x185, 0x14031f205\nmov     [rsp+58h+var_38], rsi                                          ; +0x189, 0x14031f209\nmov     r8d, eax                                                       ; +0x18e, 0x14031f20e\nmovaps  xmm1, xmm6                                                     ; +0x191, 0x14031f211\nmov     rcx, rdi                                                       ; +0x194, 0x14031f214\ncall    PlayerObject__bumpPlayer                                       ; +0x197, 0x14031f217\nmov     rax, [rsi]                                                     ; +0x19c, 0x14031f21c\nmov     rcx, rsi                                                       ; +0x19f, 0x14031f21f\ncall    qword ptr [rax+670h]                                           ; +0x1a2, 0x14031f222\nmov     edx, eax                                                       ; +0x1a8, 0x14031f228\ncall    GJBaseGameLayer__objectTypeToGameEvent                         ; +0x1aa, 0x14031f22a\nmov     edx, eax                                                       ; +0x1af, 0x14031f22f\nmov     rcx, rbp                                                       ; +0x1b1, 0x14031f231\nxor     r9d, r9d                                                       ; +0x1b4, 0x14031f234\nxor     r8d, r8d                                                       ; +0x1b7, 0x14031f237\ncall    GJBaseGameLayer__gameEventTriggered                            ; +0x1ba, 0x14031f23a\nxor     r9d, r9d                                                       ; +0x1bf, 0x14031f23f\nxor     r8d, r8d                                                       ; +0x1c2, 0x14031f242\nmov     edx, 9                                                         ; +0x1c5, 0x14031f245\nmov     rcx, rbp                                                       ; +0x1ca, 0x14031f24a\ncall    GJBaseGameLayer__gameEventTriggered                            ; +0x1cd, 0x14031f24d\nmovaps  xmm6, [rsp+58h+var_18]                                         ; +0x1d2, 0x14031f252\nmov     rbx, [rsp+58h+arg_0]                                           ; +0x1d7, 0x14031f257\nmov     rbp, [rsp+58h+arg_8]                                           ; +0x1dc, 0x14031f25c\nmov     rsi, [rsp+58h+arg_10]                                          ; +0x1e1, 0x14031f261\nadd     rsp, 50h                                                       ; +0x1e6, 0x14031f266\npop     rdi                                                            ; +0x1ea, 0x14031f26a\nretn                                                                   ; +0x1eb, 0x14031f26b", "xrefs": ["GJBaseGameLayer::collisionCheckObjects @ 0x14031cc7d", "<???> @ 0x1408b5494", "<???> @ 0x1408b54a4", "<???> @ 0x14091ed04"], "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"}