; ; DrawGridLayer::getPortalMinMax from 0x36adbc to 0x36ae54 (152 bytes) ; ; 1 xrefs: ; > DrawGridLayer::draw @ 0x36b6fe ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; PUSH {R3-R5,LR} ; +0x0, 0x36adbc MOV R5, R0 ; +0x2, 0x36adbe LDR R3, [R2] ; +0x4, 0x36adc0 MOV R0, R2 ; +0x6, 0x36adc2 VPUSH {D8} ; +0x8, 0x36adc4 MOV R4, R2 ; +0xc, 0x36adc8 LDR.W R3, [R3,#0x37C] ; +0xe, 0x36adca BLX R3 ; +0x12, 0x36adce CMP R0, #0x10 ; +0x14, 0x36add0 BEQ loc_36ADF0 ; +0x16, 0x36add2 LDR R3, [R4] ; +0x18, 0x36add4 MOV R0, R4 ; +0x1a, 0x36add6 VLDR S17, =300.0 ; +0x1c, 0x36add8 LDR.W R3, [R3,#0x37C] ; +0x20, 0x36addc BLX R3 ; +0x24, 0x36ade0 VLDR S15, =270.0 ; +0x26, 0x36ade2 CMP R0, #0x21 ; '!' ; +0x2a, 0x36ade6 IT EQ ; +0x2c, 0x36ade8 VMOVEQ.F32 S17, S15 ; +0x2e, 0x36adea B loc_36ADF4 ; +0x32, 0x36adee VLDR S17, =240.0 ; +0x34, 0x36adf0 LDR R3, [R4] ; +0x38, 0x36adf4 MOV R0, R4 ; +0x3a, 0x36adf6 VMOV.F32 S16, #30.0 ; +0x3c, 0x36adf8 LDR R3, [R3,#0x60] ; +0x40, 0x36adfc BLX R3 ; +0x42, 0x36adfe VMOV.F32 S14, #0.5 ; +0x44, 0x36ae00 VLDR S15, [R0,#4] ; +0x48, 0x36ae04 VMLS.F32 S15, S17, S14 ; +0x4c, 0x36ae08 VLDR S14, =0.0 ; +0x50, 0x36ae0c VADD.F32 S15, S15, S14 ; +0x54, 0x36ae10 VDIV.F32 S15, S15, S16 ; +0x58, 0x36ae14 VMOV R0, S15; x ; +0x5c, 0x36ae18 BLX floorf ; +0x60, 0x36ae1c VLDR S14, =90.0 ; +0x64, 0x36ae20 VMOV S15, R0 ; +0x68, 0x36ae24 MOV R0, R5; this ; +0x6c, 0x36ae28 VMUL.F32 S15, S15, S16 ; +0x6e, 0x36ae2a VCMPE.F32 S15, S14 ; +0x72, 0x36ae2e VMRS APSR_nzcv, FPSCR ; +0x76, 0x36ae32 IT LE ; +0x7a, 0x36ae36 VMOVLE.F32 S15, S14 ; +0x7c, 0x36ae38 VMOV R1, S15; float ; +0x80, 0x36ae3c VADD.F32 S15, S15, S17 ; +0x84, 0x36ae40 VMOV R2, S15; float ; +0x88, 0x36ae44 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x8c, 0x36ae48 VPOP {D8} ; +0x90, 0x36ae4c MOV R0, R5 ; +0x94, 0x36ae50 POP {R3-R5,PC} ; +0x96, 0x36ae52