{"type": "func", "start": 4295034500, "end": 4295034652, "name": "GJEffectManager::postCollisionCheck", "pseudocode": "// \n// GJEffectManager::postCollisionCheck from 0x100010684 to 0x10001071c (152 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::loadUpToPosition @ 0x100298edc\n// > GJBaseGameLayer::update @ 0x10029af50\n// \n// This function is hookable on this platform (idp: arm, 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 10:57:16 +0000\n// \n\n__int64 __fastcall GJEffectManager::postCollisionCheck(__int64 result)\n{\n  __int64 v1; // x20\n  __int64 v2; // x19\n\n  v1 = *(_QWORD *)(result + 616);\n  if ( v1 )\n  {\n    v2 = result;\n    do\n    {\n      while ( (*(_BYTE *)(v1 + 20) & 1) != 0 )\n      {\n        v1 = *(_QWORD *)v1;\n        if ( !v1 )\n          return result;\n      }\n      sub_10001071C(\n        v2,\n        0,\n        (unsigned int)((*(_DWORD *)(v1 + 16) - 10000000) / 10000),\n        (unsigned int)((*(_DWORD *)(v1 + 16) - 10000000) % 10000));\n      result = sub_100019534(v2 + 600, v1);\n      v1 = result;\n    }\n    while ( result );\n  }\n  return result;\n}", "assembly": "; \n; GJEffectManager::postCollisionCheck from 0x100010684 to 0x10001071c (152 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::loadUpToPosition @ 0x100298edc\n; > GJBaseGameLayer::update @ 0x10029af50\n; \n; This function is hookable on this platform (idp: arm, 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 10:57:16 +0000\n; \nSTP             X24, X23, [SP,#-0x10+var_30]!                          ; +0x0, 0x100010684\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x100010688\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x10001068c\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x100010690\nADD             X29, SP, #0x30                                         ; +0x10, 0x100010694\nLDR             X20, [X0,#0x268]                                       ; +0x14, 0x100010698\nCBZ             X20, loc_100010708                                     ; +0x18, 0x10001069c\nMOV             X19, X0                                                ; +0x1c, 0x1000106a0\nMOV             W21, #0xFF676980                                       ; +0x20, 0x1000106a4\nMOV             W22, #0x68DB8BAD                                       ; +0x28, 0x1000106ac\nMOV             W23, #0xFFFFD8F0                                       ; +0x30, 0x1000106b4\nLDRB            W8, [X20,#0x14]                                        ; +0x34, 0x1000106b8\nTBZ             W8, #0, loc_1000106CC                                  ; +0x38, 0x1000106bc\nLDR             X20, [X20]                                             ; +0x3c, 0x1000106c0\nCBNZ            X20, loc_1000106B8                                     ; +0x40, 0x1000106c4\nB               loc_100010708                                          ; +0x44, 0x1000106c8\nLDR             W8, [X20,#0x10]                                        ; +0x48, 0x1000106cc\nADD             W8, W8, W21                                            ; +0x4c, 0x1000106d0\nSMULL           X9, W8, W22                                            ; +0x50, 0x1000106d4\nLSR             X10, X9, #0x3F ; '?'                                   ; +0x54, 0x1000106d8\nASR             X9, X9, #0x2C ; ','                                    ; +0x58, 0x1000106dc\nADD             W2, W9, W10                                            ; +0x5c, 0x1000106e0\nMADD            W3, W2, W23, W8                                        ; +0x60, 0x1000106e4\nMOV             X0, X19                                                ; +0x64, 0x1000106e8\nMOV             W1, #0                                                 ; +0x68, 0x1000106ec\nBL              sub_10001071C                                          ; +0x6c, 0x1000106f0\nADD             X0, X19, #0x258                                        ; +0x70, 0x1000106f4\nMOV             X1, X20                                                ; +0x74, 0x1000106f8\nBL              sub_100019534                                          ; +0x78, 0x1000106fc\nMOV             X20, X0                                                ; +0x7c, 0x100010700\nCBNZ            X20, loc_1000106B8                                     ; +0x80, 0x100010704\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x84, 0x100010708\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x88, 0x10001070c\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x8c, 0x100010710\nLDP             X24, X23, [SP+0x30+var_30],#0x40                       ; +0x90, 0x100010714\nRET                                                                    ; +0x94, 0x100010718", "xrefs": ["GJBaseGameLayer::loadUpToPosition @ 0x100298edc", "GJBaseGameLayer::update @ 0x10029af50"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}